package com.yzk.train.business.feign;

import com.yzk.train.common.request.MemberTicketReq;
import com.yzk.train.common.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "train-member", fallback = MemberFeignFallBack.class)
public interface MemberFeign {

    @GetMapping("/member/admin/ticket/save")
    Result<Object> save(@RequestBody MemberTicketReq req);

}
